﻿using GamFi.API.Domain.Common;

namespace GamFi.API.Domain.Entities;

public class Purchase: BaseEntity
{
    /// <summary>
    /// Сумма
    /// </summary>
    public double Amount { get; set; }
    
    /// <summary>
    /// Дата покупки
    /// </summary>
    public DateTime Date { get; set; }
    
    /// <summary>
    /// ИД кошелька
    /// </summary>
    public Guid WalletId { get; set; }

    /// <summary>
    /// Nav-prop
    /// </summary>
    public Wallet Wallet { get; set; } = default!;
    
    /// <summary>
    /// Токен
    /// </summary>
    public Guid TokenId { get; set; }

    /// <summary>
    /// Nav-prop
    /// </summary>
    public Token Token { get; set; } = default!;
}